package com.summer.main;

import java.io.IOException;

public class JSQTest {
	
	public static void main(String[] args) throws IOException {
		
		int shu1,shu2,jieguo;
		
		char fuhao;
		
		shu1 = System.in.read()-48;
		fuhao = (char) System.in.read();
		shu2 = System.in.read()-48;
		
		jieguo = jisuan(shu1,shu2,fuhao);
		
		System.out.println(shu1+" "+fuhao+" "+shu2+" = "+jieguo);
		
	}
	
	public static int jisuan(int shu1,int shu2,char fuhao){
		int jieguo =0;
		switch (fuhao) {
			case '+':
				jieguo = shu1 + shu2;
				break;
			case '-':
				jieguo = shu1 - shu2;
				break;
			case '*':
				jieguo = shu1 * shu2;
				break;
			case '/':
				jieguo = shu1 / shu2;
				break;
		}
		return jieguo;
	}
	
}
